/*
 * @Author: 赵成功a 3063126760@qq.com
 * @Date: 2024-12-19 00:52:35
 * @LastEditors: 赵成功a 3063126760@qq.com
 * @LastEditTime: 2024-12-21 11:13:43
 * @FilePath: /linux-learning/12-18/Pipe1/Pip.hpp
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
#include <iostream>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<unistd.h>
#include<ctime>
#include<vector>
#include <sys/types.h>
#include <sys/wait.h>
#include<functional>
#include <cstddef>
#define NUM 1024
using namespace std;
void task1(){
    cout<<"开始刷新野区"<<endl;
}
void task2(){
    cout<<"开始刷新兵线"<<endl;
}void task3(){
    cout<<"开始清理战场"<<endl;
}void task4(){
    cout<<"开始刷新果子"<<endl;
}
vector<function<void()>> task{nullptr,task1,task2,task3,task4};